package com.wanmait.baohan.mapper;

import com.wanmait.baohan.pojo.TravelLog;import org.apache.ibatis.annotations.Param;import java.util.List;

public interface TravelLogMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TravelLog record);

    int insertSelective(TravelLog record);

    TravelLog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TravelLog record);

    int updateByPrimaryKey(TravelLog record);

    //高文强  根据出差申请单的id查出所有的出差日志
    List<TravelLog> selectByTravelApplitionId(@Param("id") Integer id);

    //高文强 通过id查找草稿箱的日志
    List<TravelLog> findDraftBoxBbyId(@Param("id") Integer id);
}